#include<stdio.h>
#define ONE    1    //1-> 0000 0001
#define TWO   (1<<1)//2-> 0000 0010
#define THREE (1<<2)//3-> 0000 0100
#define FOUR  (1<<3)//4-> 0000 1000

void print(int flag)
{
    if(flag & ONE)  printf("one\n");
    if(flag & TWO)  printf("two\n");
    if(flag & THREE)printf("three\n");
    if(flag & FOUR) printf("four\n");
    printf("\n");
}
int main()
{
    print(ONE);
    print(ONE|TWO);
    print(TWO|THREE|ONE);
    return 0;
}
